home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000283_news@newsmaster….columbia.edu _Thu Jul 16 09:31:24 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA29357
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 16 Jul 1998 09:31:24 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA08887
  7.     for kermit.misc@watsun; Thu, 16 Jul 1998 09:31:24 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Key Mapping
  12. Date: 16 Jul 1998 13:31:23 GMT
  13. Organization: Columbia University
  14. Lines: 38
  15. Message-ID: <6okvbb$25c$1@apakabar.cc.columbia.edu>
  16. References: <6okifb$ijr$1@nclient1-gui.server.virgin.net>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8985
  19.  
  20. In article <6okifb$ijr$1@nclient1-gui.server.virgin.net>,
  21. Fergus Strachan <fergus.strachan@virgin.net> wrote:
  22. : Small problem with my arrow keys...
  23. : Got direct serial connection to a UNIX box using VT320/220 and everything's
  24. : almost fine, except some of the keys...
  25. : I tried the standard key 'numbers' at the back of the book to map to the
  26. : \KUpArr etc. but to no avail - when I use the arrow keys it asks me if I
  27. : want to exit the unix program I'm running.
  28. : (Character set used is ISO-Latin1)
  29. : WHat are the correct set key commands for this?
  30. The terminal program should be emulating the same kind of terminal that the
  31. host thinks it is, and then if the host application is coded correctly,
  32. arrow keys should "just work".  However, with VT terminals, there are a
  33. couple extra considerations:
  34.  
  35.  1. You might need to tell Kermit to "set terminal bytesize 8" (you probably
  36.     have done this already if you are using Latin-1).
  37.  
  38.  2. The arrow keys can be in one of two "modes".  It is the host
  39.     application's responsibility to ensure that the right mode is selected.
  40.     However, many host applications fail to do this and just assume the
  41.     arrow (cursor) keypad is in a particular mode.
  42.  
  43. The command to force Kermit's arrow keypad into a particular mode is:
  44.  
  45.   SET TERMINAL ARROW-KEYS { APPLICATION, CURSOR }
  46.  
  47. For further details, see the Kermit FAQ:
  48.  
  49.   http://www.columbia.edu/kermit/faq.html
  50.   ftp://kermit.columbia.edu/kermit/faq.txt
  51.  
  52. Item 23.
  53.  
  54. - Frank